home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5367 < prev    next >
Encoding:
Text File  |  1996-08-05  |  911 b   |  36 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: rivalin.cs.cf.ac.uk!scm4mw
  3. From: M.Wood@cs.cf.ac.uk (M Wood)
  4. Subject: Fixture List Algorithms?!
  5. Sender: news@cf.ac.uk (USENET News System)
  6. Message-ID: <Do7JKq.Dot@cf.ac.uk>
  7. Date: Wed, 13 Mar 1996 13:17:14 GMT
  8. X-Nntp-Posting-Host: rivalin.cs.cf.ac.uk
  9. Organization: Dept of Computer Science, Univ of Wales, CARDIFF
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. I am considering writer (yet another...) football management simulation, one of the stumbling blocks being how to generate the set of fixtures. There must be a blindingly obvious solution to this? 
  13.  
  14. Say, for example, there were 8 teams in a division, first week would be:
  15.  
  16. (Home team no. v Away team no.)
  17.  
  18. 1 v 2
  19. 3 v 4
  20. 5 v 6
  21. 7 v 8
  22.  
  23. 2nd week:
  24.  
  25. 1 v 3
  26. 2 v 4
  27. 5 v 7
  28. 6 v 8
  29.  
  30. but where from now? with 8 teams i could simply work out by hand how to achieve this, but with 20?!
  31.  
  32. Anyone encountered this problem before?
  33.  
  34. Martin
  35.  
  36.